package factory_pattern.abstract_factory_pattern.orc;

import factory_pattern.abstract_factory_pattern.Army;
import factory_pattern.abstract_factory_pattern.Castle;
import factory_pattern.abstract_factory_pattern.King;
import factory_pattern.abstract_factory_pattern.KingdomFactory;

/**
 * 兽人王国工厂
 */
public class OrcKingdomFactory implements KingdomFactory {
    @Override
    public Castle createCastle() {
        return new OrcCastle();
    }

    @Override
    public King createKing() {
        return new OrcKing();
    }

    @Override
    public Army createArmy() {
        return new OrcArmy();
    }
}
